Application.yaml
The conf folder will have application.yaml file which consists of application-level properties and data source connection details.
The properties should be changed accordingly.
Server Port#
The server port# should be unique and unused by any other process in the system.
Server Port Number
server:
port: 6060
Batch size
The batch size represents number of records to be processed by a single batch, default value is 100, its value should not exceed 1000.
The thread pool size represents number of entities to be processed parallelly in a single batch, default value is 10.
app batch size
app:
batchSize: 100
threadpoolSize: 10
Database details
Oracle
For Oracle Database, please uncomment the section below by removing the '#' symbols and update the following values according to your environment:
hostname, port, service name, username, password.
| Database details - Oracle |
|---|
#database: # type: Oracle # driverClass: oracle.jdbc.driver.OracleDriver #javax: # sql: # DataSource: # ARCHIVESSOURCE: # dataSourceClassName: oracle.jdbc.pool.OracleDataSource # dataSource: # URL: jdbc:oracle:thin:@hostname:port:servicename # user: username # password: password # ARCHIVESTARGET: # dataSourceClassName: oracle.jdbc.pool.OracleDataSource # dataSource: # URL: jdbc:oracle:thin:@hostname:port:servicename # user: username # password: password |
MS SQL server
For MSSQL Server Database, please uncomment the section below by removing the '#' symbols and update the following values according to your environment:
hostname, port, databasename, username, password.
| Database details - MSSQL |
|---|
#database: # type: SQLServer # driverClass: com.microsoft.sqlserver.jdbc.SQLServerDriver #javax: # sql: # DataSource: # ARCHIVESSOURCE: # dataSourceClassName: com.microsoft.sqlserver.jdbc.SQLServerDataSource # dataSource: # URL: jdbc:sqlserver://hostname:port;databasename=databaseName;encrypt=true;trustServerCertificate=true # user: username # password: password # ARCHIVESTARGET: # dataSourceClassName: com.microsoft.sqlserver.jdbc.SQLServerDataSource # dataSource: # URL: jdbc:sqlserver://hostname:port;databasename=databaseName;encrypt=true;trustServerCertificate=true # user: username # password: password |